using System;
using System.Runtime.Serialization;
using System.Collections.Generic;

namespace CoreEx.Samples.DomainModel
{

	/// <summary>
	/// A class that represents Order Details.
	/// </summary>
	[Serializable]
	public class OrderDetail
	{

		/// <summary>
		/// Gets or sets the Order ID
		/// </summary>
		public virtual int OrderID { get; set; }

		/// <summary>
		/// Gets or sets the Product ID
		/// </summary>
		public virtual int ProductID { get; set; }

		/// <summary>
		/// Gets or sets the Unit Price
		/// </summary>
		public virtual decimal UnitPrice { get; set; }

		/// <summary>
		/// Gets or sets the Quantity
		/// </summary>
		public virtual short Quantity { get; set; }

		/// <summary>
		/// Gets or sets the Discount
		/// </summary>
		public virtual float Discount { get; set; }

		/// <summary>
		/// Gets or sets the Order
		/// </summary>
		public virtual Order Order { get; set;}

		/// <summary>
		/// Gets or sets the Product
		/// </summary>
		public virtual Product Product { get; set;}

       


	}
}
